# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-prosystem
pkgver=0_git20200106
pkgrel=0
_commit="6f7e34aea89db5ba2fbf674e5ff0ad6fc68a198e"
pkgdesc="port of ProSystem to the libretro API"
url="https://github.com/libretro/prosystem-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/prosystem-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/prosystem-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 prosystem_libretro.so "$pkgdir"/usr/lib/libretro/prosystem_libretro.so
}

sha512sums="5c91edacc72905249ff0ffddc26ad4e528e31585ccd77a71368f33c10f50ed6d5994a465828d4471c22259f421e7fec8b6521c8e7d1ce11fcc745c21bd4d8cbe  libretro-prosystem-6f7e34aea89db5ba2fbf674e5ff0ad6fc68a198e.tar.gz"
